//
//  SNHStaticTableViewInfo.h
//  Pods
//
//  Created by 陈建蕾 on 2018/6/9.
//

#import <Foundation/Foundation.h>
#import "SNHStaticTableView.h"
#import "SNHStaticTableViewSectionInfo.h"
#import "SNHStaticTableViewCellInfo.h"

NS_ASSUME_NONNULL_BEGIN

@interface SNHStaticTableViewInfo : NSObject

- (instancetype)initWithFrame:(CGRect)frame style:(UITableViewStyle)style;
- (void)addSection:(SNHStaticTableViewSectionInfo *)section;
- (void)insertSection:(SNHStaticTableViewSectionInfo *)section atIndex:(NSInteger)index;
- (void)removeSectionAtIndex:(NSInteger)index;
- (void)removeCell:(NSIndexPath *)indexPath;
- (void)removeAllSection;
- (SNHStaticTableViewSectionInfo *)getSectionAtIndex:(NSInteger)index;
- (SNHStaticTableViewCellInfo *)getCellAtRow:(NSInteger)row section:(NSInteger)section;
- (NSInteger)sectionCount;
- (SNHStaticTableView *)tableView;

@end

NS_ASSUME_NONNULL_END
